#ifndef __TCA9548_H
#define __TCA9548_H
#endif

#include "stm32f4xx_hal.h"
#include "gpio.h"


#define ch0 0x1
#define ch1 0x2
#define ch2 0x4
#define ch3 0x8
#define ch4 0x10
#define ch5 0x20
#define ch6 0x40
#define ch7 0x80


void tca9548_ch(uint8_t chx);
void tca9548_init(void);



